﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using System.Data;

namespace Web
{
    public partial class Site : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            LoaiHangBL _LoaiHangBL = new LoaiHangBL();
            DataTable dt_LoaiHang = _LoaiHangBL.GetData();
            Repeater1.DataSource = dt_LoaiHang;
            Repeater1.DataBind();

            NhaCungCapBL _NhaCungCapBL = new NhaCungCapBL();
            DataTable dt_Ncc = _NhaCungCapBL.GetData();
            Repeater2.DataSource = dt_Ncc;
            Repeater2.DataBind();
        }
    }
}